package com.xinqi.modules.prepare.question.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * @author linkai
 * @date 2023/3/25
 */
@Data
@Schema(description = "题目分数对象")
public class QuestionScoreDTO {
    @Schema(description = "题目id", example = "10001")
    @NotNull(message = "题目id不能为空")
    private Long id;
    @Schema(description = "值", example = "1.0")
    @NotNull(message = "值不能为空")
    private BigDecimal score;
}
